package one.net;

public class DataPoint implements Comparable<DataPoint>{
	private String at;
	private String value;
	private String ds_id;
	private String dev_id;
	public String getAt() {
		return at;
	}
	public void setAt(String at) {
		this.at = at;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getDs_id() {
		return ds_id;
	}
	public void setDs_id(String ds_id) {
		this.ds_id = ds_id;
	}
	public String getDev_id() {
		return dev_id;
	}
	public void setDev_id(String dev_id) {
		this.dev_id = dev_id;
	}
	public DataPoint(String at, String value, String ds_id, String dev_id) {
		super();
		this.at = at;
		this.value = value;
		this.ds_id = ds_id;
		this.dev_id = dev_id;
	}
	public DataPoint(){
		
	}
	@Override
	public int compareTo(DataPoint o) {
		return this.at.compareTo(o.getAt());
	}
}
